<style type="text/css">
  #chart
  {
    width: 100%;
    height: 197px;
  }

  .chart_title
  {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.4em;
  }
</style> 
<div id="chart"> </div>
<?php $filename  = $filename.'?'.filemtime($_SERVER['DOCUMENT_ROOT'].public_path($filename)) ?>

<script type="text/javascript" >
  $(function () {
     plot = generateStatistics("<?php echo public_path($filename) ?>");
  });
</script>